package kr.hkit.powerjava.chapter07.Ex;

class Rectangle {
	int width, height;

	int area() {
		return width * height;
	}
}

public class Test {// Ex3

	public static void main(String[] args) {
		Rectangle myRect = new Rectangle();

		myRect.height = 20;
		myRect.width = 10;

		System.out.println("면적은 " + myRect.area());
	}
}
